:root {
    --con-width: 100%;
    --con-padding: 8px;
    --main-color: #169bd5;
    --font-size: 12px;
}


.container {
    width: 320px;
    padding: 10px;
    border: none;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
}
.title {
    font-size: 16px;
    text-align: center;
}
.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: var(--con-width);
}
.input-group {
    position: relative;
    width: var(--con-width);
    display: inline-flex;
    align-items: center;
}

.con-input {
    width: var(--con-width);
    padding: 10px 15px;
    padding-right: 30px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: "Microsoft soft";
    transition: border-color 0.3s, box-shadow 0.3s;
}

.con-input:focus {
    border-color: var(--main-color);
    outline: none;
    box-shadow: 0 0 3px  var(--main-color);
}
.con-input:hover {
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}
/* .con-input:not(:placeholder-shown) + .clear-icon {
display: block;
} */

.con-clear {
    cursor: pointer;
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    display: none; 
    opacity: 0.6;
}
.con-clear:hover {
    opacity: 1;
}
.con-btn {
    width: var(--con-width);
    padding: var(--con-padding);
    background-color: var(--main-color);
    color: white;
    border: none;
    border-radius: 8px;
    margin: 15px 0;
    font-size: var(--font-size);
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s, transform 0.2s ease;;
}
.con-btn:hover {
    background-color: #0683b9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.con-btn:active {
    transform: scale(0.98);
}

.con-main {
    width: calc(var(--con-width) - 30px);
    height: 370px;
    background-color: #f2f2f2;
    font-size: var(--font-size);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.1);
}

.main-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 20px;
    /* display: none; */
}

.main-empty span {
    color: #A9A9A9;
    font-size: var(--font-size);
}
.main-query {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    display: none;
}
.query-copy {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 8px;
    right: -8px;
    font-size: var(--font-size);
    color: gray;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    gap: .25rem;
    background-color: #f0f0f0; 
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.query-copy:hover {
    background-color: #e0e0e0;
    color: #333;
}
.query-copy img {
    flex-shrink: 0;
    color: gray;
    height: 1rem;
    width: 1rem;
}
.query-res {
    margin: 10px 0;
}
.main-query .res-title {
    font-size: 13px;
    font-weight: bold;
}
.res-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center
}
.res-content p  .res{
    display: inline-block;
    width: 70px;
}
.bottom {
    width: var(--con-width);
    font-size: var(--font-size);
    text-align: center;
    margin: 5px 0;
}
.bottom a {
    color: var(--main-color);
    text-decoration: none;
}
.message {
    height: 10px;
    color: red;
    margin: 0;
    font-size: var(--font-size);
}